﻿@{
    ViewBag.Title = "Banner management";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<script src="~/js/macbox.js"></script>
<link href="~/css/macbox.css" rel="stylesheet" />
<script src="~/js/intranet.js"></script>
<script>
    $(document).ready(function() {
        BannerManager.init();
    });
</script>
<div class="container-fluid">
    <h3>Front page banner management</h3>
    <div class="row-fluid" style="height: 20px">
    </div>
    <div class="row-fluid">
        <div class="span2 btn">
            <a href="#" class="btnaddBanner">
                <div><i class="icon-pencil"></i></div>
                <div><strong>Add</strong></div>
            </a>
        </div>
        <div class="span2 btn btn-primary save-position" style="display: none">
            <a href="#" style="color: white">
                <div><i class="icon-save"></i></div>
                <div><strong>Save</strong></div>
            </a>
        </div>
    </div>
    <div class="row-fluid banner-row">
        <div class="span3">
            <p>Store</p>
            @Html.DropDownList("StoreID", null, new { @class = "input-block-level", onchange = "BannerManager.typeChange()" })
        </div>
        <div class="span3">
            <p>Type</p>
            <select class="input-block-level" id="TypeList" onchange="BannerManager.typeChange()">
                <option value="Home">Home</option>
                <option value="Category">Category</option>
                <option value="Product">Product</option>
            </select>
        </div>
    </div>
    <div class=" row-fluid list-banner">
    </div>
</div>
